home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 4328 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.4 KB

  1. Path: valinor.mythical.com!valinor!n5ial!jim
  2. From: jim@n5ial.mythical.com (Jim Graham)
  3. Newsgroups: comp.dcom.modems
  4. Subject: Re: What does UART stand for?
  5. Message-ID: <1996Feb7.020108.2711@n5ial.mythical.com>
  6. Date: Wed, 7 Feb 1996 02:01:08 GMT
  7. References: <4f3sfj$ciu@news-f.iadfw.net> <cobrian-0402962130120001@cobrian.accessone.com> <DMB222.3KE@undergrad.math.uwaterloo.ca>
  8. Organization: Okaloosa Island dep't of fishing/brewing/ham radio/computers
  9.  
  10. In article <DMB222.3KE@undergrad.math.uwaterloo.ca>
  11. cumeyer@undergrad.math.uwaterloo.ca (Chris Meyer) writes:
  12. >In article <cobrian-0402962130120001@cobrian.accessone.com>,
  13. >Charlie O'Brian <cobrian@accessone.com> wrote:
  14. >>In article <4f3sfj$ciu@news-f.iadfw.net>, chadwick@airmail.net (Caius)
  15. >>wrote:
  16.  
  17. >>>What does UART stand for and what do UART chips do exactly?
  18.  
  19. >>Don't mistake me for an expert, but I believe it stands for something like
  20. >>Universal(?) Asynchronous Receive & Transmit.
  21.  
  22. Actually, that should be Universal Async. Receiver/Transmitter.
  23.  
  24. >It also allows data to flow at much faster speeds than the 8250s that 
  25. >only go at 9600 baud.
  26.  
  27. Two things....
  28.  
  29. First, the 8250 *IS* a UART.  I didn't see anyone in the above (including
  30. the deleted text) say anything about any particular flavor of UART....
  31.  
  32. Second, be careful with generalizations about ``8250'' UARTs.  I don't
  33. have the data sheets for the original 8250, but I do have one here
  34. (somewhere...) that refuses to be programmed at any speed higher than
  35. 9600 bits/second.  Btw, that is bits/second, not baud.  There's a *HUGE*
  36. difference.  E-mail me if you need the explanation---I've posted enough on
  37. that over the years that I just really don't feel like posting it
  38. again...at least, not right now.  :-)
  39.  
  40. Anyways, back to the 8250 line of UARTs.  The 8250A is, according to the
  41. data sheets I got from NS, basically the same as the 16450, and can handle
  42. considerably higher speeds than the original 8250 (at least, the one I
  43. have---again, no data sheets on the original version here).
  44.  
  45. The 16550A[F], which you are referring to, is an entirely different
  46. animal.  It is basically a fast 16450 with 16-byte (instead of 1-byte)
  47. deep FIFOs and the ability to allow the interrupt service routine to
  48. take advantage of those FIFOs in two important ways.  The first is by
  49. activating the FIFOs and giving the CPU some breathing room (i.e., it
  50. has longer to service the interrupt before the FIFO is overrun).
  51.  
  52. The second is by allowing the 16550A[F] to be configured to not send an
  53. interrupt for each and every character (unless a timer, 4 character times
  54. to be exact, expires before the next one arrives).  The ISR is then
  55. capable of retrieving all characters in the FIFO while servicing a single
  56. interrupt.  This reduces CPU overhead from changing context to service
  57. serial port interrupts, and is generally more efficient.
  58.  
  59. Now, whether any of that really matters all depends on how busy your
  60. system is relative to its power and the incoming data rate.  Of course,
  61. if your system (kernel or app. software, which ever is appropriate to
  62. your operating system/program loader, respectively) doesn't enable the
  63. FIFOs, the 16550A[F] (or the original 16550, period) is just a fast
  64. 16450.
  65.  
  66. Later,
  67.    --jim
  68.  
  69. --
  70. 73 DE N5IAL (/4)         MiSTie #49997     < Running Linux 1.2.13 >
  71.       jim@n5ial.mythical.com      ICBM or Hurricane: 30.23N 86.32W
  72.   ||  j.graham@ieee.org          Packet:  --OFFLINE-- (Ft. Walton Beach, FL)
  73. E-mail me for information about KAMterm (host mode for Kantronics TNCs).
  74.  
  75.